﻿using IMeiWei.Model;
using IMeiWeiWebService.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IMeiWeiWebService.Extensions
{
    public static class areaTwoExtension
    {
        public static Area ToArea(this areatwo record)
        {
            return new Area()
            {
                AreaId = record.Id,
                AreaName = record.AreaTwo,
            };
        }
    }
}